package com.changgou.goods.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author tu zy
 * @version 1.0
 * @date 2021/4/15 23:03
 */

@Table(name = "tb_category")
public class Category {

    @Id
    private Integer id;

    private String name;

    private Integer isShow;
    private Integer isMenu;
    private Integer seq;
    private Integer parentId;
    private Integer templateId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getIsMenu() {
        return isMenu;
    }

    public void setIsMenu(Integer isMenu) {
        this.isMenu = isMenu;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }
}
